﻿
.mega-menu-item-media_image-4 img,
.mega-menu-item-media_image-5 img,
.mega-menu-item-media_image-6 img,
.mega-menu-item-media_image-7 img  {
  position: absolute;
  object-fit: cover;
  width: 150%;
  max-width: 150% !important;
  top:0px;
  left:0px
}
@media (max-width:1024px) {
  .mega-menu-item-media_image-4,
  .mega-menu-item-media_image-5,
  .mega-menu-item-media_image-6,
  .mega-menu-item-media_image-7  {
    display:none !important
  }
}

/* ************************* */
/* HOME WALLS */
/* ************************* */

article.home__walls .gallery .row .cell .w_name {
  width: 87% !important
}
article.home__walls .gallery .row .cell .w_overlay__content {
  width: 70% !important;
}
@media (max-width: 1320px ) {
  article.home__walls .gallery .row .cell .w_overlay__content {
    width: 90% !important;
  }
  article.home__walls .gallery .row .cell .w_overlay {
    height: 90% !important;
  }
}



article.doors-gallery .cell:hover .w_overlay {
  opacity: 1;
}

article.doors-gallery .cell {
  position: relative;
}

article.doors-gallery .w_overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.75);
  width: 100%;
  height: 80%;
  opacity: 0;
  transition: 0.5s;
}

article.doors-gallery .w_overlay__content {
    width: 75%;
    margin-left: auto;
    padding: 4rem 4rem 0 0;
}

article.doors-gallery .w_overlay__content .btn {
    float: right;
}

article.doors-gallery .w_overlay p {
    color: #fff;
    font-size: 16px;
    text-transform: none;
    line-height: 21px;
    font-weight: 500;
}

article.doors-gallery .w_overlay__content__head {
    font-size: 22px;
    color: #fff;
}

article.doors-gallery .w_name {
  z-index: 50;
}

article.doors-gallery .w_name {
  position: absolute;
  bottom: 30px;
  left: 40px;
  /* width: 285px; //breakwords */
  width: 55%; /*breakwords*/
  z-index: 50;
}

article.doors-gallery .w_name h3 {
    color: #fff;
}
.w_name h3 {
  text-shadow: 1px 1px 16px #333;
}

/* ************************* */
/* FEATURED DOORS */
/* ************************* */



section.part__doors .cell:hover .w_overlay,
section.part__reference-projects .cell:hover .w_overlay {
  opacity: 1;
}


section.part__reference-projects .cell:hover .w_overlay_text {
  color: #fff
}


section.part__doors .cell,
section.part__reference-projects .cell {
  position: relative;
}

section.part__doors .w_overlay,
section.part__reference-projects .w_overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.75);
  width: 100%;
  height: 80%;
  opacity: 0;
  transition: 0.5s;
}

@media (max-width: 1350px) {
  section.part__doors .w_overlay,
  section.part__reference-projects .w_overlay {
    height: 90%;
  }
}

section.part__doors .w_overlay__content,
section.part__reference-projects .w_overlay__content {
    width: 75%;
    margin-left: auto;
    padding: 4rem 4rem 0 0;
}

section.part__doors .w_overlay__content .btn
section.part__reference-projects .w_overlay__content .btn {
    float: right;
}

section.part__doors .w_overlay p,
section.part__reference-projects .w_overlay p {
    color: #fff;
    font-size: 16px;
    text-transform: none;
    line-height: 21px;
    font-weight: 500;
}

section.part__doors .w_overlay__content__head,
section.part__reference-projects .w_overlay__content__head {
    font-size: 22px;
    color: #fff;
}

section.part__doors .w_name,
section.part__reference-projects .w_name {
  z-index: 50;
}

section.part__doors .w_name,
section.part__reference-projects .w_name {
  position: absolute;
  bottom: 30px;
  left: 40px;
  /* width: 285px; //breakwords */
  width: 55%; /*breakwords*/
  z-index: 50;
}

section.part__doors .w_name h3 {
    color: #fff;
}



/* ************************* */
/* Responsive FEATURED DOORS */
/* ************************* */

/*  < LG */
@media (max-width: 1199.98px) {
  section.part__doors .w_overlay {
    height: 100%;
  }
  section.part__doors .w_overlay__content {
      width: 100%;
      padding: 4rem;
  }
}
/*  < MD */
@media (max-width: 991.98px) {
  section.part__doors .w_overlay {
    height: 100%;
    opacity: 1;
  }
  section.part__doors .w_overlay__content {
      width: 100%;
      padding: 2rem;
  }
  section.part__doors .w_name {
    width: calc(100% - 40px);
    left: 20px;
    bottom: 20px;
  }
}
@media (max-width: 450px) {
  section.part__doors .w_overlay__content, .part__reference-projects .w_overlay__content {
    width: 80% !important;
    padding:0px !important;
    margin-left:0px !important
  }
  section.part__doors .w_overlay, .part__reference-projects .w_overlay {
    height: 100% !important;
    padding-top: 30px;
    align-items: start;
    display: flex;
    justify-content: center;
  }
  .part__reference-projects .gallery .cell .text-wrapper {
    z-index:0 !important
  }
  section.part__doors .gallery .cell {
    height: 300px;
  }
}

/* ************************* */
/* Responsive FEATURED DOORS */
/* ************************* */

body.page-template-template-systemwalls .part__related-projects.part__reference-projects  {
      max-width: calc(100% - 20px);
}

body.tax-systemwall_types section.part__reference-projects,
body.page-template-expertises section.part__reference-projects,
body.page-template-template-systemwalls section.part__reference-projects,
body.page-template-template-doors section.part__reference-projects,
body.page-template-default section.part__reference-projects,
body.systeemwanden-template-default section.part__reference-projects {
    background: none;
    padding-top: 6rem;
    margin-bottom: 4rem;
    margin-top: 0;
    position: relative;
}
body.tax-systemwall_types section.part__reference-projects:before,
body.page-template-expertises section.part__reference-projects:before,
body.page-template-template-systemwalls section.part__reference-projects:before,
body.page-template-template-doors section.part__reference-projects:before,
body.page-template-default section.part__reference-projects:before,
body.systeemwanden-template-default section.part__reference-projects:before {
    content: '';
    position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
    height: calc(15rem + 120px + 252.5px);
    width: 100%;
    background: #000;
}

/* ************************* */
/* PROJECTS */
/* ************************* */

.project-item {
  position: relative;
}
.project-item .project-button-wrap {
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding: 15px;
}
.project-item .content {
    padding: 2.5rem 2.5rem 5rem 2.5rem !important;
}
@media (max-width:768px) {
  .project-item .content {
      padding: 1.5rem 1.5rem 8rem 1.5rem !important;
  }
}
.projects_categories .projects_categorie:nth-child(even){
  background-image: url('../../../../uploads/2021/02/bg-oranje-klein.jpeg');
  background-size: 100%;
  background-repeat: repeat;
  background-color: #ef7723;
}
.projects_categories .projects_categorie:nth-child(odd){
  background-color: #fff;
}

/* even */
.projects_categories .projects_categorie:nth-child(even) .project-item {
  background-color: #fff;
}
.projects_categories .projects_categorie:nth-child(even) h3 {
  color: #fff;
}
.projects_categories .projects_categorie:nth-child(even) a {
  color: #fff;
}
.projects_categories .projects_categorie:nth-child(even) a:after {
  color: #fff;
}
.projects_categories .projects_categorie:nth-child(even) a:hover {
  color: inherit;
}
.projects_categories .projects_categorie:nth-child(even) a:hover:after {
  color: inherit;
}
.projects_categories .projects_categorie:nth-child(even) h4 {
  /* color: #fff; */
}
.projects_categories .projects_categorie:nth-child(even) p {
  /* color: #fff; */
}

/* odd */
.projects_categories .projects_categorie:nth-child(odd) .project-item,
.vacancies_categories .projects_categorie:nth-child(odd) .project-item {
  border: 5px solid rgba(0,0,0,0.10);
}
.projects_categories .projects_categorie:nth-child(odd) h3 {
  color: #ef7723;
}

.projects_categories .projects_categorie .project-item .post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.projects_categories .projects_categorie .project-item .post-thumbnail img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.projects_categories .projects_categorie .project-item .post-thumbnail img:hover {
  transform: scale(1.06);
  transition: all .3s ease-out;
}

.projects_categories .projects_categorie .project-item .content {
  padding: 2.5rem;
  min-height: 400px;
  /* display: flex;
  flex-wrap: wrap; */
}
@media (max-width: 768px) {
  .projects_categories .projects_categorie .project-item .content {
    padding: 2.5rem 2.5rem 8rem 2.5rem !important;
    min-height: auto;
  }
}

.projects_categories .projects_categorie .project-item .content a {
  align-self: flex-end;
}

.projects_categories .projects_categorie .project-item img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

/* Projects style for taxonomy */

.projects_taxonomy .project-item {
  border: 5px solid rgba(0,0,0,0.10);
}

.projects_taxonomy .project-item .post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.projects_taxonomy .project-item .content {
  padding: 2.5rem;
  min-height: 400px;
  display: flex;
  flex-wrap: wrap;
}

.projects_taxonomy .project-item .content a {
  align-self: flex-end;
}

/* VACANCIES style */
.vacancies_categories.only-first .projects_categorie:nth-child(2) {
  background-image: url('../../../../uploads/2021/02/bg-oranje-klein.jpeg');
  background-size: 100%;
  background-repeat: repeat;
  background-color: #ef7723;
}
.vacancies_categories.only-first .projects_categorie:nth-child(2) a.readmore,
.vacancies_categories.only-first .projects_categorie:nth-child(2) a.readmore:after {
  color: #fff;
}
.vacancies_categories.only-first .projects_categorie:nth-child(2) a.readmore:hover,
.vacancies_categories.only-first .projects_categorie:nth-child(2) a.readmore:hover:after {
  color: #000;
}

.vacancies_categories.only-first .projects_categorie:nth-child(2) h2 {
  color: #fff;
}

.vacancies_categories.only-first .projects_categorie:nth-child(2) .project-item {
  background-color: #fff;
}

.vacancies_categories.only-first .projects_categorie:nth-child(2) .project-item {
  border: none;
}

.vacancies_categories .projects_categorie .project-item {
  border: 5px solid rgba(0,0,0,0.10);
}

.vacancies_categories .projects_categorie .project-item .post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.vacancies_categories .projects_categorie .project-item .post-thumbnail img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.vacancies_categories .projects_categorie .project-item .post-thumbnail img:hover {
  transform: scale(1.06);
  transition: all .3s ease-out;
}

.vacancies_categories .projects_categorie .project-item .content {
  padding: 2.5rem;
  min-height: 400px;
  display: flex;
  flex-wrap: wrap;
}


/* VACANCIES style 2 */
.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) {
  background-image: url('../../../../uploads/2021/02/bg-oranje-klein.jpeg');
  background-size: 100%;
  background-repeat: repeat;
  background-color: #ef7723;
}
.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) a.readmore,
.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) a.readmore:after {
  color: #fff;
}
.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) a.readmore:hover,
.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) a.readmore:hover:after {
  color: #000;
}

.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) h2 {
  color: #fff;
}

.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) .project-item {
  background-color: #fff;
}

.vacancies_categories_bold.only-first .projects_categorie:nth-child(2n+1) .project-item {
  border: none;
}

.vacancies_categories_bold .projects_categorie .project-item {
  border: 5px solid rgba(0,0,0,0.10);
}

.vacancies_categories_bold .projects_categorie .project-item .post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.vacancies_categories_bold .projects_categorie .project-item .post-thumbnail img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.vacancies_categories_bold .projects_categorie .project-item .post-thumbnail img:hover {
  transform: scale(1.06);
  transition: all .3s ease-out;
}

.vacancies_categories_bold .projects_categorie .project-item .content {
  padding: 2.5rem;
  min-height: 250px;
  ddisplay: flex;
  flex-wrap: wrap;
}
.vacancies_categories_bold .project-item .content {
  padding: 2.5rem 2.5rem 7rem 2.5rem !important;
}
.vacancies_categories_bold .project-item .project-button-wrap {
  padding-left: 25px;
}

@media (max-width: 768px) {
  .vacancies_categories .projects_categorie .project-item .content {
    min-height: auto;
    display: block;
    padding: 2.5rem 2.5rem 8rem 2.5rem !important;
  }
  section.part__info-blocks .project-item .content h4 {
    min-height:auto;
  }
}


.vacancies_categories .projects_categorie .project-item .content a {
  align-self: flex-end;
}

.vacancies_categories.even-odd .projects_categorie:nth-child(2) {
  background: none;
}

.vacancies_categories.even-odd .projects_categorie:nth-child(even) {
  background-image: url('../../../../uploads/2021/02/bg-oranje-klein.jpeg');
  background-size: 100%;
  background-repeat: repeat;
  background-color: #ef7723;
}

.vacancies_categories.even-odd .projects_categorie:nth-child(even) h3 {
  color: #fff;
}

.vacancies_categories.even-odd .projects_categorie:nth-child(even) .project-item {
  background-color: #fff;
}

.vacancies_categories.even-odd .projects_categorie:nth-child(even) .project-item {
  border: none;
}

/* only for werknemers */
.vacancies_categories.werknemers .projects_categorie .project-item img  {
  height: 250px;
  width: 100%;
  object-fit: cover;
  background-color: #eee;
}

.vacancies_categories.werknemers .projects_categorie .project-item .content {
  min-height: 300px;
}

.vacancies_categories.werknemers .projects_categorie .project-item ul {
  margin-left: 1.5rem;
}

.vacancies_categories .projects_categorie:last-child {
  margin-bottom: 0px !important;
}


/* PART INFO BLOCKS (SAME STYLE AS PROJECT OVERVIEW ITEMS) */
section.part__info-blocks .project-item {
  border: 5px solid rgba(0,0,0,0.10);
}

section.part__info-blocks .project-item .post-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

section.part__info-blocks .project-item .post-thumbnail img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

section.part__info-blocks .project-item .post-thumbnail img:hover {
  transform: scale(1.06);
  transition: all .3s ease-out;
}

section.part__info-blocks .project-item .content {
  padding: 2.5rem;
  /* min-height: 400px;
  display: flex;
  flex-wrap: wrap */
}

section.part__info-blocks .project-item .content h4 {
  min-height: 55px;
}
@media (max-width: 768px) {
  section.part__info-blocks .project-item .content h4 {
    min-height:auto;
  }
}

section.part__info-blocks.colors .project-item .content h4 {
  min-height: 0px;
}
section.part__info-blocks .project-item .content p {
  min-height: 60px;
}

section.part__info-blocks .project-item .content a {
  align-self: flex-end;
}
section.part__info-blocks .project-item img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

#mega-menu-menu-1 .mega-wpml-ls-item{
  display:none!important;
}

@media screen and (max-width: 575px){
  #mega-menu-menu-1 .mega-wpml-ls-item{
    display:block!important;
  }

  #mega-menu-menu-1 img{
    max-width:30px!important;
  }
#mega-menu-wrap-menu-1 #mega-menu-menu-1 a.mega-menu-link > img.wpml-ls-flag{
  margin-right: 5px!important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu{
  max-width:100%!important;
}

}